Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Omit queries from QueryLog plugin #77

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Brayden
Copy link
Member

@Brayden Brayden commented Jan 25, 2025

Purpose

When using the QueryLogPlugin allow users to opt-into allowing some queries that contain a specific prefix to be omitted from the log. Use cases might include administrative queries that happen frequently and would add noise to a more user-focused query log.

Tasks

  • Allow users to opt-in to the omit functionality
  • Allow users to override the default --OMIT prefix

Verify

Before

After

@Brayden Brayden self-assigned this Jan 25, 2025
@Brayden Brayden added the enhancement New feature or request label Jan 25, 2025
Copy link

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 2.08% 21 / 1005
🔵 Statements 1.99% 21 / 1051
🔵 Functions 3.04% 5 / 164
🔵 Branches 0% 0 / 592
File CoverageNo changed files found.
Generated in workflow #47 for commit 58749c5 by the Vitest Coverage Report Action

@Brayden Brayden marked this pull request as draft January 28, 2025 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant